package com.roy.minimq.remoting.domain.netty;

import com.roy.minimq.remoting.domain.entity.RemotingCommand;
import io.netty.channel.ChannelHandlerContext;

public interface NettyRequestProcessor {
    RemotingCommand processRequest(ChannelHandlerContext ctx,RemotingCommand request) throws Exception;
    boolean rejectRequest();
}
